/**
 * jims
 */
package com.jims.master.modules.csm.entity;

import com.jims.master.common.persistence.DataEntity;
import org.hibernate.validator.constraints.Length;

import java.util.Date;

/**
 * 消耗品厂商Entity
 * @author DT
 * @version 2017-03-01
 */
public class ExpSupplierCata extends DataEntity<ExpSupplierCata> {

    private static final long serialVersionUID = 1L;
    private String supplierJc;		// 供应商别名
    private String supplierName;		// 供应商全称
    private String supplierClass;		// 供应商类别
    private String supplierAddress;  //供应商地址
    private String supplierPostalCode;  //邮编
    private String aptificialPerson; //法人姓名
    private String linkPhone;  //联系电话
    private String licenceNo; //营业执照号
    private Date licenceDate;  //营业执照期限
    private String permitNo;  //生产经营许可证号
    private Date permitDate;  //许可证期限

    public ExpSupplierCata() {
        super();
    }

    public ExpSupplierCata(String id){
        super(id);
    }

    @Length(min=1, max=100, message="供应商别名长度必须介于 1 和 100 之间")
    public String getSupplierJc() {
        return supplierJc;
    }

    public void setSupplierJc(String supplierJc) {
        this.supplierJc = supplierJc;
    }

    @Length(min=1, max=40, message="厂商长度必须介于 1 和 40 之间")
    public String getSupplierName() {
        return supplierName;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName;
    }

    @Length(min=1, max=8, message="厂商类别长度必须介于 1 和 8 之间")
    public String getSupplierClass() {
        return supplierClass;
    }

    public void setSupplierClass(String supplierClass) {
        this.supplierClass = supplierClass;
    }

    public String getSupplierAddress() {
        return supplierAddress;
    }

    public void setSupplierAddress(String supplierAddress) {
        this.supplierAddress = supplierAddress;
    }

    public String getSupplierPostalCode() {
        return supplierPostalCode;
    }

    public void setSupplierPostalCode(String supplierPostalCode) {
        this.supplierPostalCode = supplierPostalCode;
    }

    public String getAptificialPerson() {
        return aptificialPerson;
    }

    public void setAptificialPerson(String aptificialPerson) {
        this.aptificialPerson = aptificialPerson;
    }

    public String getLinkPhone() {
        return linkPhone;
    }

    public void setLinkPhone(String linkPhone) {
        this.linkPhone = linkPhone;
    }

    public String getLicenceNo() {
        return licenceNo;
    }

    public void setLicenceNo(String licenceNo) {
        this.licenceNo = licenceNo;
    }

    public Date getLicenceDate() {
        return licenceDate;
    }

    public void setLicenceDate(Date licenceDate) {
        this.licenceDate = licenceDate;
    }

    public String getPermitNo() {
        return permitNo;
    }

    public void setPermitNo(String permitNo) {
        this.permitNo = permitNo;
    }

    public Date getPermitDate() {
        return permitDate;
    }

    public void setPermitDate(Date permitDate) {
        this.permitDate = permitDate;
    }
}